package com.ysy.logistics.entities.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author 姚斯羽
 * @date 2025/4/18 10:34
 * @description: 系统通知
 */
@Data
@TableName("sys_notice")
@Schema(name = "sys_notice", description = "通知实体类")
@Accessors(chain = true)
public class SysNotice {
    @Schema(description = "id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @Schema(description = "通知类型")
    @TableField(value = "notice_type")
    private Integer noticeType;
    @Schema(description = "通知标题")
    @TableField(value = "title")
    private String title;

    @Schema(description = "通知内容")
    @TableField(value = "content")
    private String content;

    @Schema(description = "发布时间")
    @TableField(value = "publish_time")
    private Date publishTime;

}
